<template>
  <div>
    欢迎
    <div>接受到的数据====={{ gotodata }}</div>
    <div>隐式接受到的数据======{{ gotoparams }}</div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      gotodata: '',
      gotoparams:''
    }
  },
  created() {
    this.gotodata = this.$route.query.datas
    this.gotoparams=this.$route.params.a
    console.log(this.gotodata)
  }
}
</script>

<style>
</style>